WPBrewer\Payuni\Payment\PayuniPayment A

Total Complexity 54
Dependencies 25
Dependents 6
Total lines 467
Lines of code 238
Logical lines of code 124
Comment lines 146
Methods 21
Properties 8

Methods 21

Method Rating Maintainability Complexity Lines of code
payuni_ajax_query_payment()
A
47 7 36
plugin_init()
S
46 3 39
get_allowed_install_payments()
S
57 4 16
get_allowed_payments()
S
57 4 16
build_payuni_order_no()
S
59 3 15
get_refund_api_url()
S
65 4 9
encrypt()
S
64 3 8
log()
S
66 3 8
add_payuni_payment_gateway()
S
67 3 8
decrypt()
S
62 3 9
hash_info()
S
68 3 6
get_order_meta_key()
S
66 2 8
parse_payuni_order_no_to_woo_order_id()
S
66 2 8
get_instance()
S
71 2 6
payuni_checkout_enqueue_scripts()
S
67 2 7
payuni_admin_scripts()
S
61 1 12
init()
S
61 1 11
payuni_add_settings()
S
76 1 4
payuni_add_action_links()
S
67 1 7
plugin_i18n()
S
78 1 3
__construct()
S
91 1 2